.class Lcom/netease/newsreader/activity/ShowColumnInMore$1;
.super Landroid/os/Handler;
.source "ShowColumnInMore.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/ShowColumnInMore;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    .line 345
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$1;)Lcom/netease/newsreader/activity/ShowColumnInMore;
    .locals 1
    .parameter

    .prologue
    .line 345
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7
    .parameter "msg"

    .prologue
    const/16 v3, 0x8

    const/4 v6, 0x0

    .line 350
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 351
    iget v2, p1, Landroid/os/Message;->what:I

    packed-switch v2, :pswitch_data_0

    .line 425
    :cond_0
    :goto_0
    return-void

    .line 353
    :pswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    .line 354
    .local v1, tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    if-eqz v1, :cond_0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    .line 355
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    .line 356
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 357
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$1(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/util/BasePageViewAdapter;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/util/BasePageViewAdapter;->notifyDataSetChanged()V

    goto :goto_0

    .line 362
    .end local v1           #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    :pswitch_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$2(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 363
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$3(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ProgressBar;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 365
    :try_start_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    .line 366
    .restart local v1       #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    if-eqz v1, :cond_1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_1

    .line 367
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    .line 368
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 369
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$4(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "nonhead"

    invoke-static {v2, v1, v3, v4}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$5(Lcom/netease/newsreader/activity/ShowColumnInMore;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V

    .line 370
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$1(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/util/BasePageViewAdapter;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/util/BasePageViewAdapter;->notifyDataSetChanged()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 375
    .end local v1           #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    :cond_1
    :goto_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$6(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/os/Handler;

    move-result-object v2

    new-instance v3, Lcom/netease/newsreader/activity/ShowColumnInMore$1$1;

    invoke-direct {v3, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$1$1;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore$1;)V

    invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 381
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2, v6}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$8(Lcom/netease/newsreader/activity/ShowColumnInMore;Z)V

    goto/16 :goto_0

    .line 372
    :catch_0
    move-exception v0

    .line 373
    .local v0, e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1

    .line 385
    .end local v0           #e:Ljava/lang/Exception;
    :pswitch_2
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$3(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ProgressBar;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 386
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$9(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/Button;

    move-result-object v2

    const v3, 0x7f0b0019

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setText(I)V

    .line 387
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$10(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ListView;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$11(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/LinearLayout;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->removeFooterView(Landroid/view/View;)Z

    .line 390
    :try_start_1
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    .line 391
    .restart local v1       #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-nez v2, :cond_2

    .line 392
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v3

    add-int/lit8 v3, v3, -0x14

    invoke-static {v2, v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$13(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V

    .line 393
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    const-string v3, "\u52a0\u8f7d\u8d85\u65f6\u6216\u65e0\u66f4\u591a\u5185\u5bb9"

    const/4 v4, 0x0

    invoke-static {v2, v3, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    .line 394
    invoke-virtual {v2}, Landroid/widget/Toast;->show()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    .line 407
    .end local v1           #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    :goto_2
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2, v6}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$8(Lcom/netease/newsreader/activity/ShowColumnInMore;Z)V

    goto/16 :goto_0

    .line 396
    .restart local v1       #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    :cond_2
    :try_start_2
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    const-string v3, "PAGES"

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v4}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$14(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v4

    .line 397
    iget-object v5, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v5}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v5

    .line 396
    invoke-static {v2, v3, v4, v5}, Lcom/netease/mobileanalysis/MobileAgent;->setEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V

    .line 399
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v3

    const-string v4, "docid"

    invoke-static {v2, v3, v1, v4}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$15(Lcom/netease/newsreader/activity/ShowColumnInMore;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    .line 400
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 401
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$4(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "nonhead"

    invoke-static {v2, v1, v3, v4}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$5(Lcom/netease/newsreader/activity/ShowColumnInMore;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V

    .line 402
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$1(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/util/BasePageViewAdapter;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/util/BasePageViewAdapter;->notifyDataSetChanged()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_2

    .line 404
    .end local v1           #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    :catch_1
    move-exception v0

    .line 405
    .restart local v0       #e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_2

    .line 411
    .end local v0           #e:Ljava/lang/Exception;
    :pswitch_3
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$16(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->clear()V

    .line 413
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/util/List;

    .line 414
    .restart local v1       #tmpData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    if-nez v2, :cond_3

    .line 415
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    const-string v3, "\u66f4\u65b0\u5929\u6c14\u51fa\u9519"

    invoke-static {v2, v3, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    .line 420
    :goto_3
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$17(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/adapter/HeadlineAdapter;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/adapter/HeadlineAdapter;->notifyDataSetChanged()V

    .line 421
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$18(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/view/HeadlineGallery;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/view/HeadlineGallery;->getGallery()Landroid/widget/Gallery;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$17(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/adapter/HeadlineAdapter;

    move-result-object v3

    invoke-virtual {v3, v6}, Lcom/netease/newsreader/adapter/HeadlineAdapter;->getInitPosition(I)I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/widget/Gallery;->setSelection(I)V

    goto/16 :goto_0

    .line 417
    :cond_3
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$16(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    goto :goto_3

    .line 351
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
